package com.budwk.app.fetchdata.models;

import com.budwk.starter.common.openapi.annotation.ApiModel;
import com.budwk.starter.common.openapi.annotation.ApiModelProperty;
import com.budwk.starter.database.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nutz.dao.entity.annotation.*;
import org.nutz.dao.interceptor.annotation.PrevInsert;

import java.io.Serializable;
import java.util.Date;

/**
 * @title: FetchData_emergency
 * @Author Tan
 * @Date: 2023/3/29 9:26
 * @Version 1.0
 */

@Data
@EqualsAndHashCode(callSuper = true)
@Table("wx_spider_emergency_information")
@Comment("应急信息数据表")
@ApiModel(description = "应急信息数据表")
public class FetchData_emergency extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;


    @Column
    @Comment("id")
    @Name
    @ApiModelProperty(description = "id")
    @ColDefine(type = ColType.VARCHAR, width = 32)
    @PrevInsert(els = {@EL("uuid()")})
    private String id;

    @Comment("应急信息标题")
    @Column
    @ApiModelProperty(description = "应急信息标题")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String informationtitle;

    @Comment("应急信息详细内容")
    @Column
    @ApiModelProperty(description = "应急信息详细内容")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String informationcontent;

    @Comment("省")
    @Column
    @ApiModelProperty(description = "省")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String province;

    @Comment("市")
    @Column
    @ApiModelProperty(description = "市")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String city;

    @Comment("区")
    @Column
    @ApiModelProperty(description = "区")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String district;

    @Comment("乡镇")
    @Column
    @ApiModelProperty(description = "乡镇")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String street;

    @Comment("信息渠道")
    @Column
    @ApiModelProperty(description = "信息渠道")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String informationchannels;

    @Comment("应急信息发布时间")
    @Column
    @ApiModelProperty(description = "应急信息发布时间")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date releasetime;

    @Comment("添加时间")
    @Column
    @ApiModelProperty(description = "添加时间")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String addtime;

    @Comment("添加人")
    @Column
    @ApiModelProperty(description = "添加人")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String addperson;

    @Comment("创建日期")
    @Column
    @ApiModelProperty(description = "创建日期")
    @ColDefine(type = ColType.TIMESTAMP, width = 200)
    private Date createdate;

    @Comment("应急信息媒体")
    @Column
    @ApiModelProperty(description = "应急信息媒体")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String informationmedia;

    @Comment("添加人手机")
    @Column
    @ApiModelProperty(description = "添加人手机")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String addphone;

    @Comment("灾情定位纬度")
    @Column
    @ApiModelProperty(description = "灾情定位纬度")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String latitude;

    @Comment("灾情定位经度")
    @Column
    @ApiModelProperty(description = "灾情定位经度")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String longitude;


    @Comment("灾情图片")
    @Column
    @ApiModelProperty(description = "灾情图片")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String picurl;

    @Comment("灾情类型")
    @Column
    @ApiModelProperty(description = "灾情类型")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String disaster_type;

    @Comment("灾情详细地址")
    @Column
    @ApiModelProperty(description = "灾情详细地址")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String disaster_address;

    @Comment("灾情等级")
    @Column
    @ApiModelProperty(description = "灾情等级")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String disaster_class;

    @Comment("信息类型")
    @Column
    @ApiModelProperty(description = "信息类型")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String disaster_status;

    @Comment("视频地址")
    @Column
    @ApiModelProperty(description = "视频地址")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String video_url;


    @Comment("是否显示")
    @Column
    @ApiModelProperty(description = "是否显示")
    @ColDefine(type = ColType.VARCHAR, width = 200)
    private String isshow;





}
